package com.zp.builder;

/**
 * @author zhpeng
 * @discription
 * @created 2021/9/3 14:59
 */
public class HouseBuilder {
    public Home ordinaryHome(){
        Home home = new Home();
        home.addItem(new RedBed());
        home.addItem(new BlueDoor());
        return home;
    }

    public Home luxuryHome(){
        Home home = new Home();
        home.addItem(new BlueDoor());
        home.addItem(new RedDoor());
        home.addItem(new BlueBed());
        home.addItem(new RedBed());
        return home;
    }
}
